package com.example.service;


import com.example.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface UserService {
    List<User> findAll();  //查询所有用户信息

    User getUserByCookie(String ticket, HttpServletRequest request, HttpServletResponse response);

    public List<User> checkUserService(Map<String, Object> params); //用户登录信息

    public void deleteUserService(Map<String, Object> params);//删除用户信息

    public void insertUserService(Map<String, Object> params);  //添加用户信息

    public void modUserStateService(Map<String, Object> params);  //修改用户信息
}
